package com.wjb.common;

import com.wjb.Job.OrderETLJob;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * 订单ETL定时调度器
 * @author : 王济彬
 * @date: 2025/6/10 - 06 - 10 - 15:53
 * @Description: com.wjb.common
 * @version: 1.0
 */
@Component
public class OrderETLScheduler {
    @Autowired
    private OrderETLJob  orderETLJob;

    public void run() throws JobExecutionException {
        orderETLJob.execute(null);
    }

}
